#include "motor.h"



//u8 motor_id[4]={left_front_id  , left_rear_id
//			   ,right_front_id , right_rear_id};

				 
				 u8 motor_id[4]={left_front_id  , left_rear_id
			   ,right_front_id , right_rear_id};
s16 motor_speed[4];

			   
void motor_control(s16 lf,s16 lr,s16 rf,s16 rr)
{
	motor_speed[0]=lf;
	motor_speed[1]=lr;
	motor_speed[2]=rf;
	motor_speed[3]=rr;
	UP_CDS_Set4MotoSpeed(motor_id,motor_speed);
}
